/*   1:    */ package org.jetbrains.generate.tostring.element;
/*   2:    */ 
/*   3:    */ import com.intellij.openapi.util.text.StringUtil;
/*   4:    */ 
/*   5:    */ public class MethodElement
/*   6:    */   extends AbstractElement
/*   7:    */   implements Element
/*   8:    */ {
/*   9:    */   private String a;
/*  10:    */   private String b;
/*  11:    */   private boolean c;
/*  12:    */   private boolean d;
/*  13:    */   private boolean e;
/*  14:    */   private boolean f;
/*  15:    */   private boolean g;
/*  16:    */   
/*  17:    */   public String getMethodName()
/*  18:    */   {
/*  19: 37 */     return this.a;
/*  20:    */   }
/*  21:    */   
/*  22:    */   public void setMethodName(String paramString)
/*  23:    */   {
/*  24: 41 */     this.a = paramString;
/*  25:    */   }
/*  26:    */   
/*  27:    */   public String getFieldName()
/*  28:    */   {
/*  29: 45 */     return this.b;
/*  30:    */   }
/*  31:    */   
/*  32:    */   public void setFieldName(String paramString)
/*  33:    */   {
/*  34: 49 */     this.b = paramString;
/*  35:    */   }
/*  36:    */   
/*  37:    */   public String getAccessor()
/*  38:    */   {
/*  39: 53 */     return this.a + "()";
/*  40:    */   }
/*  41:    */   
/*  42:    */   public boolean isModifierAbstract()
/*  43:    */   {
/*  44: 57 */     return this.c;
/*  45:    */   }
/*  46:    */   
/*  47:    */   public void setModifierAbstract(boolean paramBoolean)
/*  48:    */   {
/*  49: 61 */     this.c = paramBoolean;
/*  50:    */   }
/*  51:    */   
/*  52:    */   public boolean isModifierSynchronzied()
/*  53:    */   {
/*  54: 68 */     return isModifierSynchronized();
/*  55:    */   }
/*  56:    */   
/*  57:    */   public boolean isModifierSynchronized()
/*  58:    */   {
/*  59: 72 */     return this.d;
/*  60:    */   }
/*  61:    */   
/*  62:    */   public void setModifierSynchronized(boolean paramBoolean)
/*  63:    */   {
/*  64: 76 */     this.d = paramBoolean;
/*  65:    */   }
/*  66:    */   
/*  67:    */   public boolean isReturnTypeVoid()
/*  68:    */   {
/*  69: 80 */     return this.e;
/*  70:    */   }
/*  71:    */   
/*  72:    */   public void setReturnTypeVoid(boolean paramBoolean)
/*  73:    */   {
/*  74: 84 */     this.e = paramBoolean;
/*  75:    */   }
/*  76:    */   
/*  77:    */   public boolean isGetter()
/*  78:    */   {
/*  79: 88 */     return this.f;
/*  80:    */   }
/*  81:    */   
/*  82:    */   public void setGetter(boolean paramBoolean)
/*  83:    */   {
/*  84: 92 */     this.f = paramBoolean;
/*  85:    */   }
/*  86:    */   
/*  87:    */   public boolean isDeprecated()
/*  88:    */   {
/*  89: 96 */     return this.g;
/*  90:    */   }
/*  91:    */   
/*  92:    */   public void setDeprecated(boolean paramBoolean)
/*  93:    */   {
/*  94:100 */     this.g = paramBoolean;
/*  95:    */   }
/*  96:    */   
/*  97:    */   public boolean matchName(String paramString)
/*  98:    */     throws IllegalArgumentException
/*  99:    */   {
/* 100:111 */     if (StringUtil.isEmpty(paramString)) {
/* 101:112 */       throw new IllegalArgumentException("Can't perform regular expression since the given input is empty. Check the Method body velocity code: regexp='" + paramString + "'");
/* 102:    */     }
/* 103:115 */     return this.a.matches(paramString);
/* 104:    */   }
/* 105:    */   
/* 106:    */   public String toString()
/* 107:    */   {
/* 108:119 */     return super.toString() + " ::: MethodElement{" + "fieldName='" + this.b + "'" + ", methodName='" + this.a + "'" + ", modifierAbstract=" + this.c + ", modifierSynchronized=" + this.d + ", returnTypeVoid=" + this.e + ", getter=" + this.f + ", deprecated=" + this.g + "}";
/* 109:    */   }
/* 110:    */ }


/* Location:           E:\idea\
 * Qualified Name:     org.jetbrains.generate.tostring.element.MethodElement
 * JD-Core Version:    0.7.0.1
 */